VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging Namespace / DrawingSurfaceWrapper Class / GetParentSurface<TDrawingSurface>() Method
Syntax Requirements SeeAlso
In This Topic
    GetParentSurface<TDrawingSurface>() Method (DrawingSurfaceWrapper)
    In This Topic
    Returns a parent surface of specified type.
    Syntax
    'Declaration
    
    Public Function GetParentSurface<TDrawingSurface
    The drawing surface type.
    >() As TDrawingSurface (Of TDrawingSurface
    The drawing surface type.
    As DrawingSurface)
    public TDrawingSurface GetParentSurface<TDrawingSurface>()
    where TDrawingSurface: DrawingSurface
    
    
    public: TDrawingSurface* GetParentSurface<TDrawingSurface>()
    where TDrawingSurface: DrawingSurface*
    
    
    generic<typename TDrawingSurface>
    public:
    TDrawingSurface^ GetParentSurface() where TDrawingSurface: DrawingSurface^

    Type Parameters

    TDrawingSurface
    The drawing surface type.

    Return Value

    The parent surface of specified type.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also